{extend name="main"}

{block name="button"}
<!--{if auth('edit')}-->
<a class="layui-btn layui-btn-sm layui-btn-primary" data-modal="{:url('edit')}">{:lang('修改参数')}</a>
<!--{/if}-->
{/block}

{block name="content"}
<div class="layui-card padding-20 shadow">
    <div class="layui-card-header notselect">
        <span class="help-label">
            <b style="color:#333!important;">联系我们</b>
        </span>
    </div>
    <div class="layui-card-body">
        <div class="layui-row layui-col-space15 margin-bottom-5">
            <div class="layui-col-xs4 padding-bottom-0">
                <div class="layui-form-item">
                    <div class="help-label"><b>网站名称</b>Site Name</div>
                    <label class="relative block">
                        <input readonly value="{:sysconf('base.site_name')}"  class="layui-input layui-bg-gray">
                        <a data-copy="{:sysconf('base.site_name')}" class="layui-icon layui-icon-release input-right-icon"></a>
                    </label>
                    <div class="help-block"></div>
                </div>
            </div>
            <div class="layui-col-xs4 padding-bottom-0">
                <div class="layui-form-item">
                    <div class="help-label"><b>办公时间</b>Office Hours</div>
                    <label class="relative block">
                        <input readonly value="{:sysconf('site.office_hours')}"  class="layui-input layui-bg-gray">
                        <a data-copy="{:sysconf('site.office_hours')}" class="layui-icon layui-icon-release input-right-icon"></a>
                    </label>
                    <div class="help-block"></div>
                </div>
            </div>
            <div class="layui-col-xs4 padding-bottom-0">
                <div class="layui-form-item">
                    <div class="help-label"><b>地址</b>Address</div>
                    <label class="relative block">
                        <input readonly value="{:sysconf('site.address')}"  class="layui-input layui-bg-gray">
                        <a data-copy="{:sysconf('site.address')}" class="layui-icon layui-icon-release input-right-icon"></a>
                    </label>
                    <div class="help-block"></div>
                </div>
            </div>
            <div class="layui-col-xs4 padding-bottom-0">
                <div class="layui-form-item">
                    <div class="help-label"><b>电话</b>Phone</div>
                    <label class="relative block">
                        <input readonly value="{:sysconf('site.phone')}"  class="layui-input layui-bg-gray">
                        <a data-copy="{:sysconf('site.phone')}" class="layui-icon layui-icon-release input-right-icon"></a>
                    </label>
                    <div class="help-block"></div>
                </div>
            </div>
            <div class="layui-col-xs4 padding-bottom-0">
                <div class="layui-form-item">
                    <div class="help-label"><b>邮箱</b>Email</div>
                    <label class="relative block">
                        <input readonly value="{:sysconf('site.email')}"  class="layui-input layui-bg-gray">
                        <a data-copy="{:sysconf('site.email')}" class="layui-icon layui-icon-release input-right-icon"></a>
                    </label>
                    <div class="help-block"></div>
                </div>
            </div>
            <div class="layui-col-xs4 padding-bottom-0">
                <div class="layui-form-item">
                    <div class="help-label"><b>公众号</b>Qrcode</div>
                    <label class="relative block">
                        <input readonly value="{:sysconf('site.qrcode')}" data-tips-image data-tips-hover class="layui-input layui-bg-gray">
                        <a data-copy="{:sysconf('site.qrcode')}" class="layui-icon layui-icon-release input-right-icon"></a>
                    </label>
                    <div class="help-block"></div>
                </div>
            </div>
        </div>
    </div>
</div>

<div class="layui-card padding-20 shadow">
    <div class="layui-card-header notselect">
        <span class="help-label">
            <b style="color:#333!important;">{:lang('系统参数')}</b>( {:lang('当前网站配置参数')} )
        </span>
    </div>
    <div class="layui-card-body">


        <div class="layui-form-item">
            <div class="help-label"><b>首页-背景图</b>Background</div>
            <label class="relative block">
                <input readonly value="{:sysconf('site.background')}" data-tips-image data-tips-hover class="layui-input layui-bg-gray">
                <a data-copy="{:sysconf('site.background')}" class="layui-icon layui-icon-release input-right-icon"></a>
            </label>
            <div class="help-block">建议上传1920*689图片</div>
        </div>


        <div class="layui-form-item">
            <div class="help-label"><b>简介-封面图</b>Cover</div>
            <label class="relative block">
                <input readonly value="{:sysconf('site.cover')}" data-tips-image data-tips-hover class="layui-input layui-bg-gray">
                <a data-copy="{:sysconf('site.cover')}" class="layui-icon layui-icon-release input-right-icon"></a>
            </label>
            <div class="help-block">建议上传405*405图片</div>
        </div>
        <div class="layui-form-item">
            <div class="help-label"><b>组织架构图</b>Architecture</div>
            <label class="relative block">
                <input readonly value="{:sysconf('site.arch')}" data-tips-image data-tips-hover class="layui-input layui-bg-gray">
                <a data-copy="{:sysconf('site.arch')}" class="layui-icon layui-icon-release input-right-icon"></a>
            </label>
            <div class="help-block">建议上传1920*1397图片</div>
        </div>
        <div class="layui-form-item">
            <div class="help-label"><b>会员申请模板</b>Template</div>
            <label class="relative block">
                <input readonly value="{:sysconf('site.template')}"  class="layui-input layui-bg-gray">
            </label>
            <div class="help-block"><a href="{:sysconf('site.template')}">点击下载</a></div>
        </div>
        <div class="layui-form-item">
            <div class="help-label"><b>负责人备案表模板</b>Template</div>
            <label class="relative block">
                <input readonly value="{:sysconf('site.record')}"  class="layui-input layui-bg-gray">
            </label>
            <div class="help-block"><a href="{:sysconf('site.record')}">点击下载</a></div>
        </div>
    </div>
</div>

<div class="layui-card padding-20 shadow">
    <div class="layui-card-header notselect">
        <span class="help-label"><b style="color:#333!important;">协议/简介</b></span>
    </div>
    <div class="layui-card-body">
        <div class="layui-form-item">
            <div class="help-label"><b>首页简介</b>Introduce</div>
            <label class="relative block area-text">
                <p>{:sysconf('site.introduce|raw')}</p>
            </label>
            <div class="help-block">首页简介，建议控制1000字以内</div>
        </div>
        <div class="layui-form-item layui-form-text">
            <div class="help-label"><b>用户协议</b>Agreement</div>
            <label class="relative block area-text">
                <p>{:sysconf('site.agreement|raw')}</p>
            </label>
            <div class="help-block"></div>
        </div>
    </div>
</div>

<div class="layui-card padding-20 shadow">
    <div class="layui-card-header notselect">
        <span class="help-label"><b style="color:#333!important;">会员权益</b></span>
    </div>
    <div class="layui-card-body">
        <div class="layui-form-item">
            <div class="help-label"><b>企业会员权益</b></div>
            <label class="relative block area-text">
                <p>{:sysconf('site.corporate_benefit|raw')}</p>
            </label>
            <div class="help-block">建议控制1000字以内</div>
        </div>
        <div class="layui-form-item layui-form-text">
            <div class="help-label"><b>个人会员权益</b></div>
            <label class="relative block area-text">
                <p>{:sysconf('site.individual_benefit|raw')}</p>
            </label>
            <div class="help-block"></div>
        </div>
    </div>
</div>

<style>
.area-text{padding:10px!important; border: 1px solid #ccc; background:#fff; border-radius: 5px;}
</style>
{/block}}